package com.fan.chat.constant;

public class HTTPConstant {

    public static final int JSON_RESULT_SUCCESS_CODE = 0;

    public static final String JSON_RESULT_SUCCESS_MSG = "success";

    public static final int JSON_RESULT_ERROR_CODE = -1;

    public static final String JSON_RESULT_ERROR_MSG = "error";

    public static final String BE_IN_COMMON_USE_MIME_TYPE = "application/octet-stream";

    public static final String JSON_CONTENT_TYPE = "application/json; charset=utf-8;";

    public static final String FORM_CONTENT_TYPE = "multipart/form-data";

    public static final String HEAD_USER_AGENT_KEY = "-UserAgent";

    public static final String CONTENT_DISPOSITION_KEY = "Content-Disposition";

    public static final String CONTENT_DISPOSITION_VALUE_PREFIX = "attachment;filename=";

    public static final String TOKEN_KEY_NAME = "token";

    public static final String USER_AGENT_NAME = "USER-AGENT";

    public static final String MSIE_BROWSER_NAME = "MSIE";

    public static final String FIREFOX_BROWSER_NAME = "Firefox";

    public static final String CHROME_BROWSER_NAME = "Chrome";

    public static final int HTTP_RESPONSE_STATUS = 200;
}
